<!DOCTYPE html>






<html class="theme-next gemini use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />


















  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.3" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/favicon.ico?v=5.1.3">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon.ico?v=5.1.3">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.ico?v=5.1.3">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.3" color="#222">





  <meta name="keywords" content="note," />










<meta name="description" content="这里会 记录/节选 每天阅读得技术文摘/其他文章 希望可以帮助自己回顾学习和解决问题的历程,也希望能帮助他人进步. 大佬Blog 张鑫旭 廖雪峰 阮一峰 屈光宇 杨琼璞 涵月天 Parry">
<meta name="keywords" content="note">
<meta property="og:type" content="article">
<meta property="og:title" content="阅读记录">
<meta property="og:url" content="https://zhangyuhan2016.gitee.io/2018/04/11/keeping-track/index.html">
<meta property="og:site_name" content="zhangyuhan2016">
<meta property="og:description" content="这里会 记录/节选 每天阅读得技术文摘/其他文章 希望可以帮助自己回顾学习和解决问题的历程,也希望能帮助他人进步. 大佬Blog 张鑫旭 廖雪峰 阮一峰 屈光宇 杨琼璞 涵月天 Parry">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2018-11-28T08:22:57.249Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="阅读记录">
<meta name="twitter:description" content="这里会 记录/节选 每天阅读得技术文摘/其他文章 希望可以帮助自己回顾学习和解决问题的历程,也希望能帮助他人进步. 大佬Blog 张鑫旭 廖雪峰 阮一峰 屈光宇 杨琼璞 涵月天 Parry">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.3',
    sidebar: {"position":"right","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://zhangyuhan2016.gitee.io/2018/04/11/keeping-track/"/>





  <title>阅读记录 | zhangyuhan2016</title>









</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<header style="position: fixed;z-index: 99999999;background-color: #eee;width: 100%;text-align: center;">
    <h3>感谢您的关注，最新博客已迁移至 <mark style="background-color: #07c160;padding: 4px;"><a style="color: #fff;" href="https://blog.hi-zhang.com" target="_blank">blog.hi-zhang.com</a></mark> </h3>
</header>






  <div class="container sidebar-position-right page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">


    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">zhangyuhan2016</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>

        <p class="site-subtitle"></p>

  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">



    <ul id="menu" class="menu">


        <li class="menu-item menu-item-home">
          <a href="/" rel="section">

              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />

            首页
          </a>
        </li>


        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">

              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />

            标签
          </a>
        </li>


        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">

              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />

            归档
          </a>
        </li>



    </ul>



</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">


  <div id="posts" class="posts-expand">








  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">



  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://zhangyuhan2016.gitee.io/2018/04/11/keeping-track/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="zhangyuhan2016">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="https://avatars3.githubusercontent.com/u/18086072?s=460&v=4">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="zhangyuhan2016">
    </span>


      <header class="post-header">



          <h1 class="post-title" itemprop="name headline">阅读记录</h1>


        <div class="post-meta">
          <span class="post-time">

              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>

                <span class="post-meta-item-text">发表于</span>

              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-04-11T14:53:11+08:00">
                2018-04-11
              </time>



              <span class="post-meta-divider">|</span>



              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-check-o"></i>
              </span>

                <span class="post-meta-item-text">更新于&#58;</span>

              <time title="更新于" itemprop="dateModified" datetime="2018-11-28T16:22:57+08:00">
                2018-11-28
              </time>

          </span>





              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
                <a href="/2018/04/11/keeping-track/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count disqus-comment-count"
                        data-disqus-identifier="2018/04/11/keeping-track/" itemprop="commentCount"></span>
                </a>
              </span>





             <span id="/2018/04/11/keeping-track/" class="leancloud_visitors" data-flag-title="阅读记录">
               <span class="post-meta-divider">|</span>
               <span class="post-meta-item-icon">
                 <i class="fa fa-eye"></i>
               </span>

                 <span class="post-meta-item-text">阅读次数&#58;</span>

                 <span class="leancloud-visitors-count"></span>
             </span>





            <div class="post-wordcount">


                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>

                  <span class="post-meta-item-text">字数统计&#58;</span>

                <span title="字数统计">
                  928
                </span>



                <span class="post-meta-divider">|</span>



                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>

                  <span class="post-meta-item-text">阅读时长 &asymp;</span>

                <span title="阅读时长">
                  4
                </span>

            </div>




        </div>
      </header>





    <div class="post-body" itemprop="articleBody">





        <p>这里会 记录/节选 每天阅读得技术文摘/其他文章</p>
<p>希望可以帮助自己回顾学习和解决问题的历程,也希望能帮助他人进步.</p>
<h2 id="大佬Blog"><a href="#大佬Blog" class="headerlink" title="大佬Blog"></a>大佬Blog</h2><ul>
<li><a href="http://www.zhangxinxu.com/wordpress/" target="_blank" rel="noopener">张鑫旭</a></li>
<li><a href="https://liaoxuefeng.com/" target="_blank" rel="noopener">廖雪峰</a></li>
<li><a href="http://www.ruanyifeng.com/blog/" target="_blank" rel="noopener">阮一峰</a></li>
<li><a href="https://imququ.com/" target="_blank" rel="noopener">屈光宇</a></li>
<li><a href="https://jeffjade.com/" target="_blank" rel="noopener">杨琼璞</a></li>
<li><a href="https://microzz.com/" target="_blank" rel="noopener">涵月天</a></li>
<li><a href="http://blog.parryqiu.com/" target="_blank" rel="noopener">Parry</a></li>
</ul>
<a id="more"></a>
<h2 id="碎碎念"><a href="#碎碎念" class="headerlink" title="碎碎念"></a>碎碎念</h2><h3 id="11-28"><a href="#11-28" class="headerlink" title="11-28"></a>11-28</h3><blockquote>
<p>最近写安徽供销社、剑鱼付费静态页,接口对接比较繁琐,接口文档要提前整好才能爽爽的写代码</p>
</blockquote>
<ul>
<li><a href="https://blog.csdn.net/qq_42980124/article/details/82760333" target="_blank" rel="noopener">echarts地图缩放事件</a></li>
<li><a href="https://www.w3cmm.com/ajax/progress-events.html" target="_blank" rel="noopener">进度事件(Progress Events)</a></li>
<li><p><a href="https://stackoverflow.com/questions/42991089/disable-vue-cli-webpack-encoding-image-base64" target="_blank" rel="noopener">vue-cli 3.x 不使用base64图片(在IE10遇到背景图不显示)</a></p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">module</span>.exports = &#123;</span><br><span class="line">  chainWebpack: <span class="function"><span class="params">config</span> =&gt;</span> &#123;</span><br><span class="line">    <span class="comment">// clear the existing images module</span></span><br><span class="line">    <span class="keyword">const</span> imagesRule = config.module.rule(<span class="string">'images'</span>);</span><br><span class="line">    imagesRule.uses.clear();</span><br><span class="line"></span><br><span class="line">    imagesRule</span><br><span class="line">      <span class="comment">// you can set whatever you want or remove this line completely</span></span><br><span class="line">      .test(<span class="regexp">/\.(png|jpe?g|gif|webp)(\?.*)?$/</span>)</span><br><span class="line">      .use(<span class="string">'file-loader'</span>)</span><br><span class="line">      .loader(<span class="string">'file-loader'</span>)</span><br><span class="line">      .tap(<span class="function"><span class="params">options</span> =&gt;</span> &#123;</span><br><span class="line">        <span class="keyword">return</span> &#123;</span><br><span class="line">          ...options,</span><br><span class="line">          limit: <span class="number">-1</span> <span class="comment">// no limit</span></span><br><span class="line">        &#125;;</span><br><span class="line">      &#125;)</span><br><span class="line">      .end();</span><br><span class="line">  &#125;</span><br><span class="line">&#125;;</span><br></pre></td></tr></table></figure>
</li>
<li><p><a href="http://www.w3school.com.cn/jsref/met_win_open.asp#windowfeatures" target="_blank" rel="noopener">打开一个没有地址栏的窗口</a></p>
</li>
<li><a href="http://www.cnblogs.com/1wen/p/9391372.html" target="_blank" rel="noopener">白鹭+微信小游戏</a></li>
</ul>
<h3 id="8-3"><a href="#8-3" class="headerlink" title="8-3"></a>8-3</h3><blockquote>
<p>近期有点放飞自我，主要学习了SVG得基本语法、goLang得一些基本函数、照着视频教程抄了个tensorflow图片识别</p>
</blockquote>
<ul>
<li><a href="https://www.icourse163.org/learn/PKU-1002536002?tid=1002700003#/learn/announce" target="_blank" rel="noopener">Tensorflow笔记</a></li>
<li><a href="https://developer.mozilla.org/zh-CN/docs/Web/SVG/Tutorial/Paths" target="_blank" rel="noopener">svg</a></li>
</ul>
<blockquote>
<p>哦，还用canvas写了个简单得游戏</p>
</blockquote>
<ul>
<li><a href="https://zhangyuhan2016.github.io/game-demo/#/" target="_blank" rel="noopener">小鸟飞啊飞</a></li>
</ul>
<h3 id="6-12"><a href="#6-12" class="headerlink" title="6-12"></a>6-12</h3><ul>
<li><a href="http://www.zhangxinxu.com/wordpress/2018/05/js-custom-gif-generate/" target="_blank" rel="noopener">纯前端实现可传图可字幕台词定制的GIF表情生成器</a></li>
<li><a href="http://www.zhangxinxu.com/wordpress/2018/05/image-sequence-html5-video-play/" target="_blank" rel="noopener">炫酷H5中序列图片视频化播放的高性能实现</a></li>
<li><a href="https://github.com/jnordberg/gif.js" target="_blank" rel="noopener">gif.js</a></li>
<li><a href="http://mpvue.com/mpvue/#_4" target="_blank" rel="noopener">mpvue</a></li>
</ul>
<h3 id="6-11"><a href="#6-11" class="headerlink" title="6-11"></a>6-11</h3><ul>
<li><a href="http://www.ruanyifeng.com/blog/2015/12/a-mocha-tutorial-of-examples.html" target="_blank" rel="noopener">测试框架 Mocha 实例教程</a></li>
</ul>
<h3 id="6-8"><a href="#6-8" class="headerlink" title="6-8"></a>6-8</h3><ul>
<li><a href="http://www.cnblogs.com/ivanfu/archive/2012/04/27/2470871.html" target="_blank" rel="noopener">HTTP静态资源缓存</a></li>
<li><a href="https://zhuanlan.zhihu.com/p/25459319" target="_blank" rel="noopener">PWA 入门: 写个非常简单的 PWA 页面</a></li>
</ul>
<h3 id="6-7"><a href="#6-7" class="headerlink" title="6-7"></a>6-7</h3><ul>
<li><a href="https://stackoverflow.com/questions/38429567/some-es6-features-are-not-understood-by-grunt-uglify-js" target="_blank" rel="noopener">一些ES6功能不被grunt uglify js理解 </a></li>
<li><a href="http://www.ruanyifeng.com/blog/2016/11/intersectionobserver_api.html" target="_blank" rel="noopener">IntersectionObserver API 使用教程</a></li>
<li><a href="http://www.zhangxinxu.com/wordpress/2017/12/js-css-encrypt-to-image/" target="_blank" rel="noopener">把JS,CSS任意文本文件加密成一张图片</a></li>
</ul>
<h3 id="6-6"><a href="#6-6" class="headerlink" title="6-6"></a>6-6</h3><ul>
<li><a href="https://www.haorooms.com/post/html_meta_ds" target="_blank" rel="noopener">meta</a></li>
</ul>
<h3 id="4-25"><a href="#4-25" class="headerlink" title="4-25"></a>4-25</h3><ul>
<li><a href="https://www.zhihu.com/question/56820346" target="_blank" rel="noopener">require，import区别？</a></li>
</ul>
<h3 id="4-24"><a href="#4-24" class="headerlink" title="4-24"></a>4-24</h3><ul>
<li><a href="http://www.cnblogs.com/skynet/p/4146083.html" target="_blank" rel="noopener">为nginx配置https</a></li>
<li><a href="https://www.jianshu.com/p/9523d888cf77" target="_blank" rel="noopener">如何为nginx配置https(免费证书)</a></li>
</ul>
<h3 id="4-20"><a href="#4-20" class="headerlink" title="4-20"></a>4-20</h3><ul>
<li><a href="http://www.cnblogs.com/xjcjcsy/p/7977966.html" target="_blank" rel="noopener">【ElementUI】日期选择器时间选择范围限制</a></li>
</ul>
<h3 id="4-19"><a href="#4-19" class="headerlink" title="4-19"></a>4-19</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">本想做个可视化EleUI 拖拽布局，但是做出来好像没什么用啊，(′д｀ )…彡…彡</span><br></pre></td></tr></table></figure>
<ul>
<li><a href="https://segmentfault.com/a/1190000011845292" target="_blank" rel="noopener">webstorm插件开发</a></li>
<li><a href="https://segmentfault.com/a/1190000012945944" target="_blank" rel="noopener">可视化拖拽 UI 布局之拖拽篇</a></li>
<li><a href="https://wdd.js.org/echarts-highlight-china-map.html" target="_blank" rel="noopener">ECharts 轮流高亮中国地图各个省份</a></li>
<li><a href="https://github.com/icebob/vue-websocket" target="_blank" rel="noopener">Simple websocket (socket.io) plugin for Vue.js</a></li>
<li><a href="http://www.cnblogs.com/w158357686/p/4380472.html" target="_blank" rel="noopener">js 阻止事件冒泡和默认行为</a></li>
<li><a href="http://www.jb51.net/css/581071.html" target="_blank" rel="noopener">css 实现矩形四个边角加粗</a></li>
</ul>
<h3 id="4-18"><a href="#4-18" class="headerlink" title="4-18"></a>4-18</h3><ul>
<li><a href="https://zhuanlan.zhihu.com/p/31593673" target="_blank" rel="noopener">一个炫酷大屏展示页的打造过程</a></li>
<li><a href="https://www.zhihu.com/question/39877703" target="_blank" rel="noopener">echarts3地图显示为什么有问题呢</a></li>
<li><a href="https://segmentfault.com/q/1010000013829233" target="_blank" rel="noopener">ECharts is not Loaded</a></li>
</ul>
<h3 id="4-17"><a href="#4-17" class="headerlink" title="4-17"></a>4-17</h3><ul>
<li><a href="https://segmentfault.com/a/1190000009443366" target="_blank" rel="noopener">浅谈 Vue 项目优化</a></li>
<li><a href="http://www.ruanyifeng.com/blog/2017/04/memory-leak.html" target="_blank" rel="noopener">JavaScript 内存泄漏教程</a></li>
<li><a href="https://segmentfault.com/a/1190000009003148" target="_blank" rel="noopener">你可能不知道的Chrome-devtools用法总结</a></li>
</ul>
<h3 id="4-16"><a href="#4-16" class="headerlink" title="4-16"></a>4-16</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">使用express + mongoose 搭建知识录入系统,eleUi + axios 简易演示界面</span><br><span class="line">vue@cli 3.0 配置文档阅读</span><br></pre></td></tr></table></figure>
<ul>
<li><a href="https://www.jianshu.com/p/d7fcd17d79a9" target="_blank" rel="noopener">express,koa跨域问题</a></li>
<li><a href="https://segmentfault.com/q/1010000011556874/a-1020000011562042" target="_blank" rel="noopener">node.js+express如何跨域访问数据？</a></li>
<li><a href="https://cnodejs.org/topic/559a0bf493cb46f578f0a601" target="_blank" rel="noopener">mongodb分页优化</a></li>
</ul>
<h3 id="4-13"><a href="#4-13" class="headerlink" title="4-13"></a>4-13</h3><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">1. mongodb 安装3.6版本会导致初始化失败,退回3.4版本解决</span><br><span class="line">2. mpromise (mongoose&apos;s default promise library)</span><br><span class="line">    mongoose 4.x 后需自己引入promise</span><br></pre></td></tr></table></figure>
<ul>
<li><a href="https://www.jianshu.com/p/554a5bf67b31" target="_blank" rel="noopener">mongoose使用之查询篇</a></li>
<li><a href="https://segmentfault.com/q/1010000011399175" target="_blank" rel="noopener">mongoose自增字段</a></li>
<li><a href="https://developer.mozilla.org/zh-CN/docs/Web/Guide/Events/Media_events" target="_blank" rel="noopener">媒体相关事件</a></li>
<li><a href="https://segmentfault.com/a/1190000014094732" target="_blank" rel="noopener">vue-cli 3.0 入门介绍</a></li>
</ul>
<h3 id="4-12"><a href="#4-12" class="headerlink" title="4-12"></a>4-12</h3><ul>
<li><a href="https://jeffjade.com/2017/08/06/124-webpack-packge-optimization-for-volume/" target="_blank" rel="noopener">Webpack 打包优化之体积篇</a></li>
<li><a href="https://github.com/muaz-khan/RecordRTC/blob/master/simple-demos/multi-audios-recording.html" target="_blank" rel="noopener">录音 RecordRTC</a></li>
</ul>
<h3 id="前期汇总"><a href="#前期汇总" class="headerlink" title="前期汇总"></a>前期汇总</h3><ul>
<li><a href="https://www.zhihu.com/question/46630687" target="_blank" rel="noopener">vuejs怎么在服务器部署？</a></li>
<li><a href="https://segmentfault.com/a/1190000012184604" target="_blank" rel="noopener">vue中慎用style的scoped属性</a></li>
<li><a href="http://www.ruanyifeng.com/blog/2016/04/cors" target="_blank" rel="noopener">跨域资源共享 CORS 详解</a></li>
<li><a href="https://blog.csdn.net/u011500781/article/details/51555581" target="_blank" rel="noopener">浏览器非当前页面中的定时器会变慢</a></li>
<li><a href="https://segmentfault.com/a/1190000011798689" target="_blank" rel="noopener">使用 electron-vue 构建你的桌面应用</a></li>
<li><a href="https://blog.csdn.net/hy6688_/article/details/22453043" target="_blank" rel="noopener">Js New一个函数和直接调用的区别</a></li>
<li><a href="https://parceljs.org/hmr.html" target="_blank" rel="noopener">Parcel</a></li>
<li><a href="https://juejin.im/post/59fa9257f265da43062a1b0e?utm_source=weibo&amp;utm_campaign=admin" target="_blank" rel="noopener">Vue 脱坑记 - 查漏补缺(汇总下群里高频询问的xxx及给出不靠谱的解决方案)</a></li>
<li><a href="https://www.zhihu.com/question/29504639" target="_blank" rel="noopener">如何理解虚拟DOM?</a></li>
<li><a href="http://www.cnblogs.com/shanpeng/articles/3253662.html" target="_blank" rel="noopener">浏览器如何解析HTML</a></li>
<li><a href="https://blog.csdn.net/u012863664/article/details/53484263" target="_blank" rel="noopener">canvas出现锯齿和文字模糊问题</a></li>
<li><a href="http://zhangwenli.com/blog/2014/11/13/introduction-to-three-js/" target="_blank" rel="noopener">Three.js 入门指南</a></li>
<li><a href="http://www.zhangxinxu.com/wordpress/2010/05/css-border%E4%B8%89%E8%A7%92%E3%80%81%E5%9C%86%E8%A7%92%E5%9B%BE%E5%BD%A2%E7%94%9F%E6%88%90%E6%8A%80%E6%9C%AF%E7%AE%80%E4%BB%8B/" target="_blank" rel="noopener">CSS border三角、圆角图形生成技术简介</a></li>
<li><a href="https://segmentfault.com/a/1190000003836345" target="_blank" rel="noopener">用 Git Hooks 进行自动部署</a></li>
<li><a href="http://blog.percymong.com/articles/html5-indexeddb/" target="_blank" rel="noopener">HTML5 IndexedDB</a></li>
<li><a href="http://www.webhek.com/post/fullscreen.html" target="_blank" rel="noopener">浏览器全屏</a></li>
<li><a href="https://www.jianshu.com/p/3bd8a2b07d57" target="_blank" rel="noopener">Vue.js中ref ($refs)用法举例总结</a></li>
</ul>


    </div>







      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
  <div></div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>打赏</span>
  </button>
  <div id="QR" style="display: none;">




      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="/images/zfb.png" alt="zhangyuhan2016 支付宝"/>
        <p>支付宝</p>
      </div>




  </div>
</div>

      </div>




    <footer class="post-footer">

        <div class="post-tags">

            <a href="/tags/note/" rel="tag">note</a>

        </div>







        <div class="post-nav">
          <div class="post-nav-next post-nav-item">

              <a href="/2018/04/11/Echarts-note/" rel="next" title="Echarts 使用日志">
                <i class="fa fa-chevron-left"></i> Echarts 使用日志
              </a>

          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">

              <a href="/2018/04/24/mock-note/" rel="prev" title="mock-note">
                mock-note <i class="fa fa-chevron-right"></i>
              </a>

          </div>
        </div>




    </footer>
  </div>



  </article>



    <div class="post-spread">

    </div>
  </div>


          </div>






    <div class="comments" id="comments">
      <div id="disqus_thread">
        <noscript>
          Please enable JavaScript to view the
          <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
        </noscript>
      </div>
    </div>





        </div>



  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">

    <div class="sidebar-inner">




        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>


      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">

              <img class="site-author-image" itemprop="image"
                src="https://avatars3.githubusercontent.com/u/18086072?s=460&v=4"
                alt="zhangyuhan2016" />

              <p class="site-author-name" itemprop="name">zhangyuhan2016</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">


              <div class="site-state-item site-state-posts">

                <a href="/archives/">

                  <span class="site-state-item-count">15</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>







              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">30</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>


          </nav>



          <div class="links-of-author motion-element">


                <span class="links-of-author-item">
                  <a href="https://github.com/zhangyuhan2016" target="_blank" title="GitHub">

                      <i class="fa fa-fw fa-github"></i>GitHub</a>
                </span>


          </div>








        </div>
      </section>


      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">






              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#大佬Blog"><span class="nav-number">1.</span> <span class="nav-text"><a href="#&#x5927;&#x4F6C;Blog" class="headerlink" title="&#x5927;&#x4F6C;Blog"></a>&#x5927;&#x4F6C;Blog</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#碎碎念"><span class="nav-number">2.</span> <span class="nav-text"><a href="#&#x788E;&#x788E;&#x5FF5;" class="headerlink" title="&#x788E;&#x788E;&#x5FF5;"></a>&#x788E;&#x788E;&#x5FF5;</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#11-28"><span class="nav-number">2.1.</span> <span class="nav-text"><a href="#11-28" class="headerlink" title="11-28"></a>11-28</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#8-3"><span class="nav-number">2.2.</span> <span class="nav-text"><a href="#8-3" class="headerlink" title="8-3"></a>8-3</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#6-12"><span class="nav-number">2.3.</span> <span class="nav-text"><a href="#6-12" class="headerlink" title="6-12"></a>6-12</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#6-11"><span class="nav-number">2.4.</span> <span class="nav-text"><a href="#6-11" class="headerlink" title="6-11"></a>6-11</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#6-8"><span class="nav-number">2.5.</span> <span class="nav-text"><a href="#6-8" class="headerlink" title="6-8"></a>6-8</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#6-7"><span class="nav-number">2.6.</span> <span class="nav-text"><a href="#6-7" class="headerlink" title="6-7"></a>6-7</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#6-6"><span class="nav-number">2.7.</span> <span class="nav-text"><a href="#6-6" class="headerlink" title="6-6"></a>6-6</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-25"><span class="nav-number">2.8.</span> <span class="nav-text"><a href="#4-25" class="headerlink" title="4-25"></a>4-25</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-24"><span class="nav-number">2.9.</span> <span class="nav-text"><a href="#4-24" class="headerlink" title="4-24"></a>4-24</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-20"><span class="nav-number">2.10.</span> <span class="nav-text"><a href="#4-20" class="headerlink" title="4-20"></a>4-20</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-19"><span class="nav-number">2.11.</span> <span class="nav-text"><a href="#4-19" class="headerlink" title="4-19"></a>4-19</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-18"><span class="nav-number">2.12.</span> <span class="nav-text"><a href="#4-18" class="headerlink" title="4-18"></a>4-18</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-17"><span class="nav-number">2.13.</span> <span class="nav-text"><a href="#4-17" class="headerlink" title="4-17"></a>4-17</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-16"><span class="nav-number">2.14.</span> <span class="nav-text"><a href="#4-16" class="headerlink" title="4-16"></a>4-16</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-13"><span class="nav-number">2.15.</span> <span class="nav-text"><a href="#4-13" class="headerlink" title="4-13"></a>4-13</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-12"><span class="nav-number">2.16.</span> <span class="nav-text"><a href="#4-12" class="headerlink" title="4-12"></a>4-12</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#前期汇总"><span class="nav-number">2.17.</span> <span class="nav-text"><a href="#&#x524D;&#x671F;&#x6C47;&#x603B;" class="headerlink" title="&#x524D;&#x671F;&#x6C47;&#x603B;"></a>&#x524D;&#x671F;&#x6C47;&#x603B;</span></a></li></ol></li></ol></div>


          </div>
        </section>
      <!--/noindex-->




    </div>
    <div class="post-block page my-thanks">
        <div class="my-title">致谢</div>
        <div class="thanks">Hexo</div>
        <div class="thanks">Next & Gemini</div>
        <div class="thanks">Gitee</div>
    </div>
  </aside>



      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">









      </div>
    </footer>


      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>

      </div>




  </div>



<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>



























    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>




    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>




    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>




    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>




    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>




    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>




    <script type="text/javascript" src="/lib/three/three.min.js"></script>




    <script type="text/javascript" src="/lib/three/canvas_lines.min.js"></script>






  <script type="text/javascript" src="/js/src/utils.js?v=5.1.3"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.3"></script>







  <script type="text/javascript" src="/js/src/affix.js?v=5.1.3"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.3"></script>




  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.3"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.3"></script>






  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.3"></script>









      <script id="dsq-count-scr" src="https://.disqus.com/count.js" async></script>



      <script type="text/javascript">
        var disqus_config = function () {
          this.page.url = 'https://zhangyuhan2016.gitee.io/2018/04/11/keeping-track/';
          this.page.identifier = '2018/04/11/keeping-track/';
          this.page.title = '阅读记录';
        };
        var d = document, s = d.createElement('script');
        s.src = 'https://.disqus.com/embed.js';
        s.setAttribute('data-timestamp', '' + +new Date());
        (d.head || d.body).appendChild(s);
      </script>






























  <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
  <script src="//unpkg.com/valine/dist/Valine.min.js"></script>

  <script type="text/javascript">
    var GUEST = ['nick','mail','link'];
    var guest = 'nick,mail,link';
    guest = guest.split(',').filter(item=>{
      return GUEST.indexOf(item)>-1;
    });
    new Valine({
        el: '#comments' ,
        verify: true,
        notify: false,
        appId: 'xxTmc7jwpAd2bWhmkKOI7IGY-gzGzoHsz',
        appKey: 'glPUiD8ljbJsKYhBg5E0ghII',
        placeholder: '说点什么呗 ヾﾉ≧∀≦)o',
        avatar:'mm',
        guest_info:guest,
        pageSize:'10' || 10,
    });
  </script>












  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.4.js"></script>
  <script>AV.initialize("mpOMyFHLi7a5S0ka5mv3cz7C-gzGzoHsz", "3t0W0au9Mxf0lOGFDF8u89pc");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            counter.save(null, {
              success: function(counter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(counter.get('time'));
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            var newcounter = new Counter();
            /* Set ACL */
            var acl = new AV.ACL();
            acl.setPublicReadAccess(true);
            acl.setPublicWriteAccess(true);
            newcounter.setACL(acl);
            /* End Set ACL */
            newcounter.set("title", title);
            newcounter.set("url", url);
            newcounter.set("time", 1);
            newcounter.save(null, {
              success: function(newcounter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
              },
              error: function(newcounter, error) {
                console.log('Failed to create');
              }
            });
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>
















</body>
</html>
